/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.dal.entity;

import com.yanlight.type.BooleanType;
import com.yanlight.type.OrderType;

/**
 * @author haolw
 * @time 2017/08/28
 */
public class Order {
    private Integer id;
    private Integer companyId;
    private Integer payCodeId;
    private Integer operationId;
    private String mchId;
    private Integer scene;
    private String openId;
    private String transactionNo;
    private String outTradeNo;
    private String sn;
    private Double totalFee;
    private Double discount = 0D;
    private Double rate = 0D;
    private Double poundageFee = 0D;
    private Double settlementFee = 0D;
    private Integer payType;
    private Integer billType = BooleanType.FALSE.ordinal();
    private Integer status = OrderType.UNPAID.getType();
    private String remark;
    private String createTime;
    private String payTime;
    private Long drawbackId;

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getTransactionNo() {
        return transactionNo;
    }

    public void setTransactionNo(String transactionNo) {
        this.transactionNo = transactionNo;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Double getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Double totalFee) {
        this.totalFee = totalFee;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Double getRate() {
        return rate;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    public Double getPoundageFee() {
        return poundageFee;
    }

    public void setPoundageFee(Double poundageFee) {
        this.poundageFee = poundageFee;
    }

    public Double getSettlementFee() {
        return settlementFee;
    }

    public void setSettlementFee(Double settlementFee) {
        this.settlementFee = settlementFee;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getBillType() {
        return billType;
    }

    public void setBillType(Integer billType) {
        this.billType = billType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getPayCodeId() {
        return payCodeId;
    }

    public void setPayCodeId(Integer payCodeId) {
        this.payCodeId = payCodeId;
    }

    public Integer getOperationId() {
        return operationId;
    }

    public void setOperationId(Integer operationId) {
        this.operationId = operationId;
    }

    public Integer getScene() {
        return scene;
    }

    public void setScene(Integer scene) {
        this.scene = scene;
    }

    public Long getDrawbackId() {
        return drawbackId;
    }

    public void setDrawbackId(Long drawbackId) {
        this.drawbackId = drawbackId;
    }
}
